export enum TypeFrom {
  Button = 'btn',
  Voice = 'voice'
}


export enum WFNodeType {
  isNode = 'node',
  isPath = 'path'
}

export interface WFBasicCell {
  type: WFNodeType;

}

export interface WFNode extends WFBasicCell {
  type: WFNodeType;
  isTemplate: boolean;
  buttonGroup: Array<any>;
  buttonGroupDisabled: boolean;
  label: string;
}

export interface WfPath extends WFBasicCell {
  type: WFNodeType;
}


export class WFTemplate implements WFNode {
  type: WFNodeType = WFNodeType.isNode;
  isTemplate: boolean = true;
  buttonGroup: any[] = [];
  buttonGroupDisabled: boolean = false;
  label: string = '';
}
